<template>
    <div style="width: 100%;height:100%;display: flex;justify-content: center;align-items: center;background: black">
        <object class id="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" :codebase="data" width="980" height="480" style="border: 1px solid #549de8">
            <param name="movie" value="/static/flvplayer.swf">
            <param name="quality" value="high">
            <param name="allowFullScreen" value="true">
            <param name="FlashVars" :value="data1">
            <embed src="/static/flvplayer.swf" allowfullscreen="true" :flashvars="data2" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="980" height="480"></embed>
        </object>
    </div>
</template>

<script>
  export default {
    name: "videoPlay",
    data(){
      return{
        data:"",
        data1:"",
        data2:''
      }
    },
    created() {
      this.data = this.$route.query.url;
      this.data1 = "vcastr_file="+this.data+"&LogoText=视频播放&BufferTime=3&IsAutoPlay=1";
      this.data2 = "vcastr_file="+this.data+"&LogoText=视频播放&IsAutoPlay=1";
    },
  }
</script>

<style scoped>
</style>